/* Copyright (c) Meta Platforms, Inc. and affiliates. */

:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  height: 100%;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* light and dark mode colors */
@media (prefers-color-scheme: light) {
  :root {
    background-color: #ffffff;
    --background-primary: #ffffff;
    --background-secondary: #f5f5f5;
    --text-primary: #212121;
  }
  a:hover {
    color: #747bff;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    background-color: #1f2129;
    --background-primary: #1f2129;
    --background-secondary: #282b35;
    --text-primary: #bfc1c6;
  }
}

html,
body,
#root {
  position: fixed;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}
